Carbon


PBCreateFileIDRefSync

Header: Files.h Carbon status: Supported

Establishes a file ID reference for a file.

OSErr PBCreateFileIDRefSync (
    HParmBlkPtr paramBlock
);
paramBlock

A pointer to an fidParam variant of the HFS parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

Given a volume reference number, filename, and parent directory ID, the PBCreateFileIDRefSync function creates a structure to hold the name and parent directory ID of the specified file.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)